package com.zjitc.chapter11.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class AuthController {
    /**
     * 该方法映射的请求路径为：/addUser 和 /deleteUser
     */
    @RequestMapping(value = {"/addUser","deleteUser"})
    public void checkAuth() {
        System.out.println("AuthController.checkAuth");
    }
}
